﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Viettel.VOFFICE.Web.Models
{
    public class SystemFunctionModel : BaseModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string ActionControllerName { get; set; }
        public int? ParentId { get; set; }
        public bool IsActive { get; set; }
        public bool IsRoot { get; set; }
    }
    public class SystemFunctionTreeView
    {
        public int id;
        public string data;
        public List<SystemFunctionTreeView> children;
        public SystemFunctionAttribute attr;
        public SystemFunctionTreeView()
        {
            children = new List<SystemFunctionTreeView>();
        }
    }
    public class SystemFunctionAttribute
    {
        public int id;
        public string title;
        public string rolelist;
    }
}